//
//  HNSH_AlipayToors.h
//  HNSH_SingleProject
//
//  Created by 李宇廷 on 2023/4/9.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
typedef void(^AliPayBlock)(NSDictionary *resultDic);
@interface HNSH_AlipayToors : NSObject

+ (HNSH_AlipayToors *)shareToors;

- (void)payOrderWithOrderString:(NSString *)orderString complate:(AliPayBlock)complate;

- (BOOL)alipayApplication:(UIApplication *)application
                  openURL:(NSURL *)url
        sourceApplication:(NSString *)sourceApplication
               annotation:(id)annotation;

- (BOOL)alipayApplication:(UIApplication *)app
                  openURL:(NSURL *)url
                  options:(NSDictionary<NSString*, id> *)options;


@end

NS_ASSUME_NONNULL_END
